
module.exports = [
  {
    url: '/hsp/routes',
    type: 'get',
    response: config => {
      return {
        code: 0,
        data: [
          {
            path: '/system',
            redirect: '/system/menu',
            name: 'System',
            meta: { title: '系统设置', icon: 'el-icon-s-help' },
            children: [
              {
                path: '/system/menu',
                name: 'Menu',
                meta: { title: '菜单设置', icon: 'table' }
              },
              {
                path: '/system/roles',
                name: 'Tree',
                meta: { title: '角色设置', icon: 'tree' }
              }
            ]
          },
          {
            path: 'external-link',
            children: [
              {
                path: 'https://panjiachen.github.io/vue-element-admin-site/#/',
                meta: { title: '外链', icon: 'link' }
              }
            ]
          }
        ]
      };
    }
  }
];
